package bg.unisofia.fmi.tis.web;

import bg.unisofia.fmi.tis.service.HibernateUtil;
import bg.unisofia.fmi.tis.service.JBPMUtil;

import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;


public class InitServlet extends HttpServlet {

	public void init() throws ServletException {
        super.init();
        HibernateUtil.getSession();
        JBPMUtil.init();
    }

    protected void doGet(HttpServletRequest httpServletRequest,
            HttpServletResponse httpServletResponse) throws ServletException,
            IOException {
    }

    protected void doPost(HttpServletRequest httpServletRequest,
            HttpServletResponse httpServletResponse) throws ServletException,
            IOException {
    }
}
